package com.huanghuai.retail.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huanghuai.retail.common.R;
import com.huanghuai.retail.entity.DeviceType;

public interface DeviceTypeService  extends IService<DeviceType> {
    R<String> saves(DeviceType deviceType);

    R<String> updates(DeviceType deviceType);

    R<String> deletes(Long id);

    R<DeviceType> getByIds(Long id);

    R<Page<DeviceType>> pages(int page, int pageSize, String name);
}
